<!DOCTYPE html><html lang="zh-CN" data-theme="light"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><title>flex布局 | Han's Blog</title><meta name="keywords" content="CSS"><meta name="author" content="憨憨一个"><meta name="copyright" content="憨憨一个"><meta name="format-detection" content="telephone=no"><meta name="theme-color" content="#ffffff"><meta http-equiv="Cache-Control" content="no-transform"><meta http-equiv="Cache-Control" content="no-siteapp"><meta name="description" content="Flex 父容器属性flex-direction 方向value：  row(default) 排列方式从右到左   column 排列方式从上到下   row-reverse 排列方式从左到右   column-reverse 排列方式从下到上    flex-wrap  换行value：  nowrap(default) 不换行   wrap 换行   wrap-reverse 相反的顺序换行">
<meta property="og:type" content="article">
<meta property="og:title" content="flex布局">
<meta property="og:url" content="http://blog.better2020.top/2021/08/27/flex%E5%B8%83%E5%B1%80/index.html">
<meta property="og:site_name" content="Han&#39;s Blog">
<meta property="og:description" content="Flex 父容器属性flex-direction 方向value：  row(default) 排列方式从右到左   column 排列方式从上到下   row-reverse 排列方式从左到右   column-reverse 排列方式从下到上    flex-wrap  换行value：  nowrap(default) 不换行   wrap 换行   wrap-reverse 相反的顺序换行">
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="http://blog.better2020.top/2021/08/27/flex%E5%B8%83%E5%B1%80/top_img.png">
<meta property="article:published_time" content="2021-08-27T05:27:55.000Z">
<meta property="article:modified_time" content="2022-03-17T05:25:11.846Z">
<meta property="article:author" content="憨憨一个">
<meta property="article:tag" content="CSS">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="http://blog.better2020.top/2021/08/27/flex%E5%B8%83%E5%B1%80/top_img.png"><link rel="shortcut icon" href="/img/favicon.png"><link rel="canonical" href="http://blog.better2020.top/2021/08/27/flex%E5%B8%83%E5%B1%80/"><link rel="preconnect" href="//cdn.jsdelivr.net"/><link rel="preconnect" href="//busuanzi.ibruce.info"/><link rel="preconnect" href="//zz.bdstatic.com"/><link rel="stylesheet" href="/css/index.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free/css/all.min.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@latest/dist/jquery.fancybox.min.css"><script>var GLOBAL_CONFIG = { 
  root: '/',
  hexoversion: '5.2.0',
  algolia: undefined,
  localSearch: {"path":"search.xml","languages":{"hits_empty":"找不到您查询的内容：${query}"}},
  translate: undefined,
  noticeOutdate: undefined,
  highlight: {"plugin":"highlighjs","highlightCopy":true,"highlightLang":true},
  copy: {
    success: '复制成功',
    error: '复制错误',
    noSupport: '浏览器不支持'
  },
  relativeDate: {
    homepage: false,
    post: false
  },
  runtime: '',
  date_suffix: {
    just: '刚刚',
    min: '分钟前',
    hour: '小时前',
    day: '天前',
    month: '个月前'
  },
  copyright: undefined,
  ClickShowText: undefined,
  lightbox: 'fancybox',
  Snackbar: undefined,
  justifiedGallery: {
    js: 'https://cdn.jsdelivr.net/npm/justifiedGallery/dist/js/jquery.justifiedGallery.min.js',
    css: 'https://cdn.jsdelivr.net/npm/justifiedGallery/dist/css/justifiedGallery.min.css'
  },
  isPhotoFigcaption: false,
  islazyload: false,
  isanchor: false
};

var saveToLocal = {
  set: function setWithExpiry(key, value, ttl) {
    const now = new Date()
    const expiryDay = ttl * 86400000
    const item = {
      value: value,
      expiry: now.getTime() + expiryDay,
    }
    localStorage.setItem(key, JSON.stringify(item))
  },

  get: function getWithExpiry(key) {
    const itemStr = localStorage.getItem(key)

    if (!itemStr) {
      return undefined
    }
    const item = JSON.parse(itemStr)
    const now = new Date()

    if (now.getTime() > item.expiry) {
      localStorage.removeItem(key)
      return undefined
    }
    return item.value
  }
}</script><script id="config_change">var GLOBAL_CONFIG_SITE = { 
  isPost: true,
  isHome: false,
  isHighlightShrink: false,
  isSidebar: true,
  postUpdate: '2022-03-17 13:25:11'
}</script><noscript><style type="text/css">
  #nav {
    opacity: 1
  }
  .justified-gallery img {
    opacity: 1
  }

  #recent-posts time,
  #post-meta time {
    display: inline !important
  }
</style></noscript><script>(function () {
  window.activateDarkMode = function () {
    document.documentElement.setAttribute('data-theme', 'dark')
    if (document.querySelector('meta[name="theme-color"]') !== null) {
      document.querySelector('meta[name="theme-color"]').setAttribute('content', '#0d0d0d')
    }
  }
  window.activateLightMode = function () {
    document.documentElement.setAttribute('data-theme', 'light')
    if (document.querySelector('meta[name="theme-color"]') !== null) {
      document.querySelector('meta[name="theme-color"]').setAttribute('content', '#ffffff')
    }
  }

  const autoChangeMode = 'false'
  const t = saveToLocal.get('theme')
  if (autoChangeMode === '1') {
    const isDarkMode = window.matchMedia('(prefers-color-scheme: dark)').matches
    const isLightMode = window.matchMedia('(prefers-color-scheme: light)').matches
    const isNotSpecified = window.matchMedia('(prefers-color-scheme: no-preference)').matches
    const hasNoSupport = !isDarkMode && !isLightMode && !isNotSpecified

    if (t === undefined) {
      if (isLightMode) activateLightMode()
      else if (isDarkMode) activateDarkMode()
      else if (isNotSpecified || hasNoSupport) {
        const now = new Date()
        const hour = now.getHours()
        const isNight = hour <= 6 || hour >= 18
        isNight ? activateDarkMode() : activateLightMode()
      }
      window.matchMedia('(prefers-color-scheme: dark)').addListener(function (e) {
        if (saveToLocal.get('theme') === undefined) {
          e.matches ? activateDarkMode() : activateLightMode()
        }
      })
    } else if (t === 'light') activateLightMode()
    else activateDarkMode()
  } else if (autoChangeMode === '2') {
    const now = new Date()
    const hour = now.getHours()
    const isNight = hour <= 6 || hour >= 18
    if (t === undefined) isNight ? activateDarkMode() : activateLightMode()
    else if (t === 'light') activateLightMode()
    else activateDarkMode()
  } else {
    if (t === 'dark') activateDarkMode()
    else if (t === 'light') activateLightMode()
  }
})()</script><meta name="generator" content="Hexo 5.2.0"><link rel="alternate" href="/atom.xml" title="Han's Blog" type="application/atom+xml">
</head><body><div id="mobile-sidebar"><div id="menu_mask"></div><div id="mobile-sidebar-menus"><div class="mobile_author_icon"><img class="avatar-img" src="/null" onerror="onerror=null;src='/img/friend_404.gif'" alt="avatar"/></div><div class="mobile_post_data"><div class="mobile_data_item is-center"><div class="mobile_data_link"><a href="/archives/"><div class="headline">文章</div><div class="length_num">25</div></a></div></div><div class="mobile_data_item is-center">      <div class="mobile_data_link"><a href="/tags/"><div class="headline">标签</div><div class="length_num">16</div></a></div></div><div class="mobile_data_item is-center">     <div class="mobile_data_link"><a href="/categories/"><div class="headline">分类</div><div class="length_num">2</div></a></div></div></div><hr/><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fas fa-home"></i><span> 首页</span></a></div><div class="menus_item"><a class="site-page" href="/archives/"><i class="fa-fw fas fa-archive"></i><span> 时间轴</span></a></div><div class="menus_item"><a class="site-page" href="/tags/"><i class="fa-fw fas fa-tags"></i><span> 标签</span></a></div><div class="menus_item"><a class="site-page" href="/categories/"><i class="fa-fw fas fa-folder-open"></i><span> 分类</span></a></div><div class="menus_item"><a class="site-page" href="/about/"><i class="fa-fw fas fa-heart"></i><span> 关于</span></a></div><div class="menus_item"><a class="site-page" href="/link/"><i class="fa-fw fas fa-link"></i><span> 友链</span></a></div></div></div></div><div id="body-wrap"><div id="sidebar"><i class="fas fa-arrow-right on" id="toggle-sidebar"></i><div class="sidebar-toc"><div class="sidebar-toc__title">目录</div><div class="sidebar-toc__progress"><span class="progress-notice">你已经读了</span><span class="progress-num">0</span><span class="progress-percentage">%</span><div class="sidebar-toc__progress-bar">     </div></div><div class="sidebar-toc__content"><ol class="toc"><li class="toc-item toc-level-2"><a class="toc-link" href="#Flex-%E7%88%B6%E5%AE%B9%E5%99%A8%E5%B1%9E%E6%80%A7"><span class="toc-number">1.</span> <span class="toc-text">Flex 父容器属性</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#flex-direction-%E6%96%B9%E5%90%91"><span class="toc-number">1.1.</span> <span class="toc-text">flex-direction 方向</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#flex-wrap-%E6%8D%A2%E8%A1%8C"><span class="toc-number">1.2.</span> <span class="toc-text">flex-wrap  换行</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#justify-content-%E4%B8%BB%E8%BD%B4%E4%B8%8A%E7%9A%84%E5%AF%B9%E9%BD%90%E6%96%B9%E5%BC%8F"><span class="toc-number">1.3.</span> <span class="toc-text">justify-content  主轴上的对齐方式</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#align-item-%E4%BA%A4%E5%8F%89%E8%BD%B4%E4%B8%8A%E7%9A%84%E5%AF%B9%E9%BD%90%E6%96%B9%E5%BC%8F"><span class="toc-number">1.4.</span> <span class="toc-text">align-item  交叉轴上的对齐方式</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#align-content"><span class="toc-number">1.5.</span> <span class="toc-text">align-content</span></a></li></ol></li><li class="toc-item toc-level-2"><a class="toc-link" href="#Flex-%E5%AD%90%E5%AE%B9%E5%99%A8%E5%B1%9E%E6%80%A7"><span class="toc-number">2.</span> <span class="toc-text">Flex 子容器属性</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#order-%E6%8E%92%E5%BA%8F%E4%BE%9D%E6%8D%AE"><span class="toc-number">2.1.</span> <span class="toc-text">order  排序依据</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#flex-grow-%E6%89%A9%E5%B1%95"><span class="toc-number">2.2.</span> <span class="toc-text">flex-grow   扩展</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#flex-shrink-%E7%BC%A9%E6%94%BE"><span class="toc-number">2.3.</span> <span class="toc-text">flex-shrink  缩放</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#flex-basis-%E8%AE%BE%E7%BD%AE%E6%88%96%E6%A3%80%E7%B4%A2%E5%BC%B9%E6%80%A7%E7%9B%92%E4%BC%B8%E7%BC%A9%E5%9F%BA%E5%87%86%E5%80%BC"><span class="toc-number">2.4.</span> <span class="toc-text">flex-basis  设置或检索弹性盒伸缩基准值</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#flex-flex-grow-flex-shrink-flex-basis%E7%9A%84%E7%BC%A9%E5%86%99"><span class="toc-number">2.5.</span> <span class="toc-text">flex  flex-grow flex&#x3D;shrink flex-basis的缩写</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#align-self"><span class="toc-number">2.6.</span> <span class="toc-text">align-self</span></a></li></ol></li></ol></div></div></div><header class="post-bg" id="page-header" style="background-image: url(/2021/08/27/flex%E5%B8%83%E5%B1%80/top_img.png)"><nav id="nav"><span id="blog_name"><a id="site-name" href="/">Han's Blog</a></span><span id="menus"><div id="search_button"><a class="site-page social-icon search"><i class="fas fa-search fa-fw"></i><span> 搜索</span></a></div><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fas fa-home"></i><span> 首页</span></a></div><div class="menus_item"><a class="site-page" href="/archives/"><i class="fa-fw fas fa-archive"></i><span> 时间轴</span></a></div><div class="menus_item"><a class="site-page" href="/tags/"><i class="fa-fw fas fa-tags"></i><span> 标签</span></a></div><div class="menus_item"><a class="site-page" href="/categories/"><i class="fa-fw fas fa-folder-open"></i><span> 分类</span></a></div><div class="menus_item"><a class="site-page" href="/about/"><i class="fa-fw fas fa-heart"></i><span> 关于</span></a></div><div class="menus_item"><a class="site-page" href="/link/"><i class="fa-fw fas fa-link"></i><span> 友链</span></a></div></div><span class="close" id="toggle-menu"><a class="site-page"><i class="fas fa-bars fa-fw"></i></a></span></span></nav><div id="post-info"><div id="post-title"><div class="posttitle">flex布局</div></div><div id="post-meta"><div class="meta-firstline"><span class="post-meta-date"><i class="far fa-calendar-alt fa-fw post-meta-icon"></i><span class="post-meta-label">发表于</span><time class="post-meta-date-created" datetime="2021-08-27T05:27:55.000Z" title="发表于 2021-08-27 13:27:55">2021-08-27</time><span class="post-meta-separator">|</span><i class="fas fa-history fa-fw post-meta-icon"></i><span class="post-meta-label">更新于</span><time class="post-meta-date-updated" datetime="2022-03-17T05:25:11.846Z" title="更新于 2022-03-17 13:25:11">2022-03-17</time></span><span class="post-meta-categories"><span class="post-meta-separator">|</span><i class="fas fa-inbox fa-fw post-meta-icon"></i><a class="post-meta-categories" href="/categories/code/">code</a></span></div><div class="meta-secondline"> <span class="post-meta-separator">|</span><span class="post-meta-pv-cv"><i class="far fa-eye fa-fw post-meta-icon"></i><span class="post-meta-label">阅读量:</span><span id="busuanzi_value_page_pv"></span></span></div></div></div></header><main class="layout_post" id="content-inner"><article id="post"><div class="post-content" id="article-container"><h2 id="Flex-父容器属性"><a href="#Flex-父容器属性" class="headerlink" title="Flex 父容器属性"></a>Flex 父容器属性</h2><h3 id="flex-direction-方向"><a href="#flex-direction-方向" class="headerlink" title="flex-direction 方向"></a>flex-direction 方向</h3><p>value：</p>
<ul>
<li>row(default)<ul>
<li>排列方式从右到左</li>
</ul>
</li>
<li>column<ul>
<li>排列方式从上到下</li>
</ul>
</li>
<li>row-reverse<ul>
<li>排列方式从左到右</li>
</ul>
</li>
<li>column-reverse<ul>
<li>排列方式从下到上</li>
</ul>
</li>
</ul>
<h3 id="flex-wrap-换行"><a href="#flex-wrap-换行" class="headerlink" title="flex-wrap  换行"></a>flex-wrap  换行</h3><p>value：</p>
<ul>
<li>nowrap(default)<ul>
<li>不换行</li>
</ul>
</li>
<li>wrap<ul>
<li>换行</li>
</ul>
</li>
<li>wrap-reverse<ul>
<li>相反的顺序换行</li>
</ul>
</li>
<li>initial<ul>
<li>设置该属性为它的默认值</li>
</ul>
</li>
<li>inherit<ul>
<li>从父元素继承</li>
</ul>
</li>
</ul>
<h3 id="justify-content-主轴上的对齐方式"><a href="#justify-content-主轴上的对齐方式" class="headerlink" title="justify-content  主轴上的对齐方式"></a>justify-content  主轴上的对齐方式</h3><p>value:</p>
<ul>
<li>flex-start(default)<ul>
<li>行首起始位置排列（主轴为row时左对齐）</li>
</ul>
</li>
<li>flex-end<ul>
<li>行尾排列（主轴为row时右对齐）</li>
</ul>
</li>
<li>center <ul>
<li>居中</li>
</ul>
</li>
<li>space-between（|div     1     div|）<ul>
<li>分散对齐，左右顶格分散对齐</li>
</ul>
</li>
<li>space-around<ul>
<li>分散对齐，子容器左右间隔一致（|1div  2  div1|）</li>
</ul>
</li>
<li>space-evenly<ul>
<li>分散对齐，均匀分布，容器之间间隔一致（|1 div 1 div 1|）</li>
</ul>
</li>
<li>initial<ul>
<li>设置该属性为它的默认值</li>
</ul>
</li>
<li>inherit<ul>
<li>从父元素继承</li>
</ul>
</li>
</ul>
<h3 id="align-item-交叉轴上的对齐方式"><a href="#align-item-交叉轴上的对齐方式" class="headerlink" title="align-item  交叉轴上的对齐方式"></a>align-item  交叉轴上的对齐方式</h3><p>value:</p>
<ul>
<li>stretch (default) <ul>
<li>元素被拉伸以适应容器，遵照min/max-width/height属性限制</li>
</ul>
</li>
<li>center <ul>
<li>元素位于容器的中心</li>
</ul>
</li>
<li>flex-start<ul>
<li>元素位于容器的开头</li>
</ul>
</li>
<li>flex-end<ul>
<li>元素位于容器的结尾</li>
</ul>
</li>
<li>baseline<ul>
<li>元素位于容器的基准线</li>
</ul>
</li>
<li>initial<ul>
<li>设置该属性为它的默认值</li>
</ul>
</li>
<li>inherit<ul>
<li>从父元素继承</li>
</ul>
</li>
</ul>
<h3 id="align-content"><a href="#align-content" class="headerlink" title="align-content"></a>align-content</h3><p>属性同align-item，用于对齐多行项目，将所有项目看成一个整体</p>
<h2 id="Flex-子容器属性"><a href="#Flex-子容器属性" class="headerlink" title="Flex 子容器属性"></a>Flex 子容器属性</h2><h3 id="order-排序依据"><a href="#order-排序依据" class="headerlink" title="order  排序依据"></a>order  排序依据</h3><h3 id="flex-grow-扩展"><a href="#flex-grow-扩展" class="headerlink" title="flex-grow   扩展"></a>flex-grow   扩展</h3><h3 id="flex-shrink-缩放"><a href="#flex-shrink-缩放" class="headerlink" title="flex-shrink  缩放"></a>flex-shrink  缩放</h3><h3 id="flex-basis-设置或检索弹性盒伸缩基准值"><a href="#flex-basis-设置或检索弹性盒伸缩基准值" class="headerlink" title="flex-basis  设置或检索弹性盒伸缩基准值"></a>flex-basis  设置或检索弹性盒伸缩基准值</h3><h3 id="flex-flex-grow-flex-shrink-flex-basis的缩写"><a href="#flex-flex-grow-flex-shrink-flex-basis的缩写" class="headerlink" title="flex  flex-grow flex=shrink flex-basis的缩写"></a>flex  flex-grow flex=shrink flex-basis的缩写</h3><h3 id="align-self"><a href="#align-self" class="headerlink" title="align-self"></a>align-self</h3><ul>
<li>可覆盖align-item的值</li>
</ul>
</div><div class="post-copyright"><div class="post-copyright__author"><span class="post-copyright-meta">文章作者: </span><span class="post-copyright-info"><a href="mailto:undefined">憨憨一个</a></span></div><div class="post-copyright__type"><span class="post-copyright-meta">文章链接: </span><span class="post-copyright-info"><a href="http://blog.better2020.top/2021/08/27/flex%E5%B8%83%E5%B1%80/">http://blog.better2020.top/2021/08/27/flex%E5%B8%83%E5%B1%80/</a></span></div><div class="post-copyright__notice"><span class="post-copyright-meta">版权声明: </span><span class="post-copyright-info">本博客所有文章除特别声明外，均采用 <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/" target="_blank">CC BY-NC-SA 4.0</a> 许可协议。转载请注明来自 <a href="http://blog.better2020.top" target="_blank">Han's Blog</a>！</span></div></div><div class="tag_share"><div class="post-meta__tag-list"><a class="post-meta__tags" href="/tags/CSS/">CSS</a></div><div class="post_share"><div class="social-share" data-image="/2021/08/27/flex%E5%B8%83%E5%B1%80/top_img.png" data-sites="facebook,twitter,wechat,weibo,qq"></div><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/social-share.js/dist/css/share.min.css"><script src="https://cdn.jsdelivr.net/npm/social-share.js/dist/js/social-share.min.js" defer></script></div></div><nav class="pagination-post" id="pagination"><div class="prev-post pull-left"><a href="/2021/08/27/%E9%9D%A2%E8%AF%95%E9%A2%98%E4%B9%8BCSS/"><img class="prev-cover" src="/2021/08/27/%E9%9D%A2%E8%AF%95%E9%A2%98%E4%B9%8BCSS/top_img.png" onerror="onerror=null;src='/img/404.jpg'"><div class="pagination-info"><div class="label">上一篇</div><div class="prev_info">面试题之CSS</div></div></a></div><div class="next-post pull-right"><a href="/2021/08/26/hexo-%E5%8D%9A%E5%AE%A2%E7%99%BE%E5%BA%A6%E6%94%B6%E7%AF%87%E5%BD%95/"><img class="next-cover" src="/2021/08/26/hexo-%E5%8D%9A%E5%AE%A2%E7%99%BE%E5%BA%A6%E6%94%B6%E7%AF%87%E5%BD%95/top_img.png" onerror="onerror=null;src='/img/404.jpg'"><div class="pagination-info"><div class="label">下一篇</div><div class="next_info">hexo 我的博客怎样才能在百度搜索到</div></div></a></div></nav><div class="relatedPosts"><div class="headline"><i class="fas fa-thumbs-up fa-fw"></i><span> 相关推荐</span></div><div class="relatedPosts-list"><div><a href="/2021/08/27/面试题之CSS/" title="面试题之CSS"><img class="cover" src="/2021/08/27/%E9%9D%A2%E8%AF%95%E9%A2%98%E4%B9%8BCSS/top_img.png"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2021-08-27</div><div class="title">面试题之CSS</div></div></a></div></div></div></article></main><footer id="footer"><div id="footer-wrap"><div class="copyright">&copy;2020 - 2022 By 憨憨一个</div><div class="framework-info"><span>框架 </span><a target="_blank" rel="noopener" href="https://hexo.io">Hexo</a><span class="footer-separator">|</span><span>主题 </span><a target="_blank" rel="noopener" href="https://github.com/jerryc127/hexo-theme-butterfly">Butterfly</a></div></div></footer></div><section id="rightside"><div id="rightside-config-hide"><button id="readmode" type="button" title="阅读模式"><i class="fas fa-book-open"></i></button><button id="darkmode" type="button" title="浅色和深色模式转换"><i class="fas fa-adjust"></i></button></div><div id="rightside-config-show"><button id="rightside_config" type="button" title="设置"><i class="fas fa-cog"></i></button><button class="close" id="mobile-toc-button" type="button" title="目录"><i class="fas fa-list-ul"></i></button><button id="go-up" type="button" title="回到顶部"><i class="fas fa-arrow-up"></i></button></div></section><div class="search-dialog" id="local-search"><div class="search-dialog__title" id="local-search-title">本地搜索</div><div id="local-input-panel"><div id="local-search-input"><div class="local-search-box"><input class="local-search-box--input" placeholder="搜索文章" type="text"/></div></div></div><hr/><div id="local-search-results"><div id="local-hits"></div><div id="local-stats"><div class="local-search-stats__hr" id="hr"><span>由</span> <a target="_blank" rel="noopener" href="https://github.com/wzpan/hexo-generator-search" style="color:#49B1F5;">hexo-generator-search</a>
 <span>提供支持</span></div></div></div><span class="search-close-button"><i class="fas fa-times"></i></span></div><div id="search-mask"></div><div><script src="https://cdn.jsdelivr.net/npm/jquery@latest/dist/jquery.min.js"></script><script src="/js/utils.js"></script><script src="/js/main.js"></script><script src="https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@latest/dist/jquery.fancybox.min.js"></script><script src="/js/search/local-search.js"></script><div class="js-pjax"><script async src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script></div><script>(function(){
  const bp = document.createElement('script');
  const curProtocol = window.location.protocol.split(':')[0];
  if (curProtocol === 'https'){
  bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
  }
  else{
  bp.src = 'http://push.zhanzhang.baidu.com/push.js';
  }
  bp.dataset.pjax = ''
  const s = document.getElementsByTagName("script")[0];
  s.parentNode.insertBefore(bp, s);
})()</script></div></body></html>